package com.dhy.domain;

import com.dhy.dbCore.anno.ParamMapping;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author 大忽悠
 * @create 2022/6/6 20:06
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class Course {
    private Integer id;
    /**
     * 课程类型: 0是必修课,1是选修课,2是公选课
     */
    @ParamMapping("0=必修课;1=选修课;2=公选课")
    private String type;
    private Integer credits;
    private Integer majorId;
    private String name;
}
